package com.example.annotationdemo.service;

import com.example.annotationdemo.annotation.BusinessAnnotation;
import com.example.annotationdemo.enums.BusinessEnum;
import org.springframework.stereotype.Service;

/**
 * @author kw
 * @program annotation-demo
 * @description
 * @create 2024 - 05 - 19 16:26
 **/
@Service
@BusinessAnnotation(businessType = BusinessEnum.DEVICE_INTERCEPTOR)
public class BusinessService extends BusinessServiceAbstract {

//    @BusinessAnnotation(businessType = BusinessEnum.DEVICE_INTERCEPTOR)
    @Override
    public void submit() {
        System.out.println("提交");
    }
}
